package com.biannuo.szk;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 启动类
 *
 * @author admin
 */
@MapperScan
@SpringBootApplication
@EnableAsync
public class SuzakuBootApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext cac = SpringApplication.run(SuzakuBootApplication.class, args);
        String info = cac.getEnvironment().getProperty("info");
        System.out.println("配置信息为：" + info);
    }

}
